{template '_header'}

<div class="page-heading"> <h2>举报记录 <small>总数: <span class="text-danger">{$reportnum}</span></small></h2> </div>
        <form action="./index.php" method="get" class="form-horizontal" role="form">
                <input type="hidden" name="c" value="site">
                <input type="hidden" name="a" value="entry">
                <input type="hidden" name="m" value="ewei_shopv2">
                <input type="hidden" name="do" value="web">
                <input type="hidden" name="r" value="article.report">
<div class="page-toolbar row m-b-sm m-t-sm">
                            
			 
                            <div class="col-sm-1">
						   <div class="input-group-btn" style="float:left;">
			        <button class="btn btn-default btn-sm"  type="button" data-toggle='refresh'><i class='fa fa-refresh'></i></button>
						   </div>
								</div>		
								<div class="col-sm-8 pull-right">			 
                                    <select  name="cid" class='form-control input-sm select-sm ' style="width:120px;">
                                            {loop $categorys $ccid $cname}
                                                <option value="{$ccid}" {if $_GPC['cid']==$ccid}selected="selected"{/if}>{$cname}</option>
                                            {/loop}
                                    </select>
                       
								
			 		 
			 
				<div class="input-group">				 
                                        <input type="text" class="input-sm form-control" name='keyword' value="{$_GPC['keyword']}" placeholder="请输入文章标题/举报内容关键字进行检索"> <span class="input-group-btn">
                                     <button class="btn btn-sm btn-primary" type="submit"> 搜索</button> </span>
                                </div>
								
                            </div>
</div>
  </form>
{if count($datas)>0}
        <table class="table table-hover table-responsive">
            <thead>
                <tr>
                    <th style="width:60px; text-align: center;">ID</th>
                    <th style="width:100px;">粉丝</th>
                    <th style="width:220px;">文章</th>
                    <th style="width:100px;">违规分类</th>
                    <th >举报描述</th>
                </tr>
            </thead>
            <tbody>
             
                    {loop $datas $data}
                        <tr>
                            <td style="text-align: center;">{$data['id']}</td>
                            <td>
                            	<a href="{php echo webUrl('member/list/detail', array('id'=>$data['mid']))}" target="_blank">{$data['nickname']}</a>
                            </td>
                            <td>
                            	<a href="{php echo webUrl('article/edit', array('aid'=>$data['aid']))}" target="_blank">{$data['article_title']}</a>
                            </td>
                            <td>{$data['cate']}</td>
                            <td data-toggle='popover' data-content='<div style="max-width:300px;word-break:break-all">{$data['cons']}</div>' data-html="true" data-placement='bottom' data-trigger='hover'>{$data['cons']}</td>
                        </tr>
                 {/loop}
              
            
            </tbody>
        </table>
    {$pager}
{else}
<div class='panel panel-default'>
	<div class='panel-body' style='text-align: center;padding:30px;'>
		 没有任何举报记录!
	</div>
</div>
{/if}

{template '_footer'}